<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>WebCL: IWebCLMemoryObject Interface Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">WebCL
   
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.6.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="dynsections.js"></script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a>  </div>
  <div class="headertitle">
<div class="title">IWebCLMemoryObject Interface Reference</div>  </div>
</div><!--header-->
<div class="contents">
<!-- doxytag: class="IWebCLMemoryObject" -->
<p><a class="el" href="interfaceIWebCLMemoryObject.html" title="IWebCLMemoryObject interface abstracts a WebCL memory object such as a buffer or an image...">IWebCLMemoryObject</a> interface abstracts a WebCL memory object such as a buffer or an image.  
 <a href="interfaceIWebCLMemoryObject.html#details">More...</a></p>

<p><code>import &quot;<a class="el" href="IWebCLMemoryObject_8idl_source.html">IWebCLMemoryObject.idl</a>&quot;;</code></p>

<p><a href="interfaceIWebCLMemoryObject-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">nsIVariant&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfaceIWebCLMemoryObject.html#abe6e0b19187797993fa27e28a46cefdb">getMemObjectInfo</a> (in long aName)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get memory object info.  <a href="#abe6e0b19187797993fa27e28a46cefdb"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">nsIVariant&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfaceIWebCLMemoryObject.html#ad88d4283c967b00f7adc44d8477bbcd7">getImageInfo</a> (in long aName)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get image info.  <a href="#ad88d4283c967b00f7adc44d8477bbcd7"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="interfaceIWebCLMemoryObject.html">IWebCLMemoryObject</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfaceIWebCLMemoryObject.html#aa1a48ce4a2d17e83a27c2c9ae7896fad">createSubBuffer</a> (in <a class="el" href="WebCL__types_8idl.html#aec32aabf173b2b5d9e70a7b4ba0a037e">T_WebCLMemFlags</a> aFlags, in nsIVariant aBufferRegion)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a buffer object (referred to as a sub-buffer object) from an existing buffer object.  <a href="#aa1a48ce4a2d17e83a27c2c9ae7896fad"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfaceIWebCLMemoryObject.html#acf6ab68335192ffba1e17083767263df">releaseCLResources</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Immediately releases all OpenCL-related resources if any are allocated for this object.  <a href="#acf6ab68335192ffba1e17083767263df"></a><br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p><a class="el" href="interfaceIWebCLMemoryObject.html" title="IWebCLMemoryObject interface abstracts a WebCL memory object such as a buffer or an image...">IWebCLMemoryObject</a> interface abstracts a WebCL memory object such as a buffer or an image. </p>
<dl class="see"><dt><b>See also:</b></dt><dd>cl_mem </dd></dl>
</div><hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="aa1a48ce4a2d17e83a27c2c9ae7896fad"></a><!-- doxytag: member="IWebCLMemoryObject::createSubBuffer" ref="aa1a48ce4a2d17e83a27c2c9ae7896fad" args="(in T_WebCLMemFlags aFlags, in nsIVariant aBufferRegion)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="interfaceIWebCLMemoryObject.html">IWebCLMemoryObject</a> <a class="el" href="interfaceIWebCLMemoryObject.html#aa1a48ce4a2d17e83a27c2c9ae7896fad">IWebCLMemoryObject::createSubBuffer</a> </td>
          <td>(</td>
          <td class="paramtype">in <a class="el" href="WebCL__types_8idl.html#aec32aabf173b2b5d9e70a7b4ba0a037e">T_WebCLMemFlags</a>&#160;</td>
          <td class="paramname"><em>aFlags</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">in nsIVariant&#160;</td>
          <td class="paramname"><em>aBufferRegion</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Creates a buffer object (referred to as a sub-buffer object) from an existing buffer object. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">aFlags</td><td>A bit-field that is used to specify allocation and usage information about the image memory object being created. </td></tr>
    <tr><td class="paramname">aBufferRegion</td><td>An object with "size" and "origin" properties of integer type. </td></tr>
  </table>
  </dd>
</dl>
<dl class="see"><dt><b>See also:</b></dt><dd>clCreateSubBuffer </dd></dl>

</div>
</div>
<a class="anchor" id="ad88d4283c967b00f7adc44d8477bbcd7"></a><!-- doxytag: member="IWebCLMemoryObject::getImageInfo" ref="ad88d4283c967b00f7adc44d8477bbcd7" args="(in long aName)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">nsIVariant <a class="el" href="interfaceIWebCLMemoryObject.html#ad88d4283c967b00f7adc44d8477bbcd7">IWebCLMemoryObject::getImageInfo</a> </td>
          <td>(</td>
          <td class="paramtype">in long&#160;</td>
          <td class="paramname"><em>aName</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get image info. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">aName</td><td>Name of the info parameter. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The resulting value. </dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd>clGetImageInfo </dd>
<dd>
WebCL_types </dd></dl>

</div>
</div>
<a class="anchor" id="abe6e0b19187797993fa27e28a46cefdb"></a><!-- doxytag: member="IWebCLMemoryObject::getMemObjectInfo" ref="abe6e0b19187797993fa27e28a46cefdb" args="(in long aName)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">nsIVariant <a class="el" href="interfaceIWebCLMemoryObject.html#abe6e0b19187797993fa27e28a46cefdb">IWebCLMemoryObject::getMemObjectInfo</a> </td>
          <td>(</td>
          <td class="paramtype">in long&#160;</td>
          <td class="paramname"><em>aName</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get memory object info. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">aName</td><td>Name of the info parameter. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The resulting value. </dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd>clGetMemObjectInfo </dd>
<dd>
WebCL_types </dd></dl>

</div>
</div>
<a class="anchor" id="acf6ab68335192ffba1e17083767263df"></a><!-- doxytag: member="IWebCLMemoryObject::releaseCLResources" ref="acf6ab68335192ffba1e17083767263df" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="interfaceIWebCLMemoryObject.html#acf6ab68335192ffba1e17083767263df">IWebCLMemoryObject::releaseCLResources</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Immediately releases all OpenCL-related resources if any are allocated for this object. </p>
<p>The object should not be used anymore after calling this function. </p>

</div>
</div>
<hr/>The documentation for this interface was generated from the following file:<ul>
<li>public/<a class="el" href="IWebCLMemoryObject_8idl_source.html">IWebCLMemoryObject.idl</a></li>
</ul>
</div><!-- contents -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Generated on Fri Sep 7 2012 12:59:51 for WebCL by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.6.1
</small></address>

</body>
</html>
